<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			// 动态获取状态栏高度，兼容小程序
			// const height = uni.getSystemInfoSync().statusBarHeight;
			// this.$store.commit('getHeight', height);
			// 获取定位
			let _this = this
			// this.$map.getRegeo({
			// 	success: (data) => {
			// 		_this.$store.commit('getCity', data[0].regeocodeData.addressComponent.city)
			// 		_this.$store.commit('getSite', data[0].latitude+','+data[0].longitude)
			// 	}
			// });
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	
	uni-page-body {
		color: $gray !important;
		font-size:30rpx !important;
	}
	
	// 自定义头部，状态栏盒子样式
	.status_bar {
		// height: var(--status-bar-height);
		width: 100%;
		background-color: #fff;
	}
	// tab切换选中加下边框
	.active-bb {
		&::after {
			content: '';
			position: absolute;
			width: 90%;
			height: 5rpx;
			background-color: $blue;
			left: 5%;
			bottom: -25rpx;
		}
	}
	
	// filed
	.u-field {
		padding: 26rpx 34rpx !important;
	
		.u-label-text {
			font-weight: 700 !important;
		}
	}
	
	// 提交按钮
	// <u-button type="warning" @click="pay">确定</u-button>
	// 点击色只有在页面里写有效
	// /deep/.u-primary-hover {
	//   background-color: $blue !important;
	//  }
	.u-btn--warning {
		background: linear-gradient(90deg, #FFA14C 0%, #F66E23 100%) !important;
	}
	
	.u-size-default {
		width: 682rpx !important;
		height: 88rpx !important;
		font-weight: 700 !important;
	}
	
	// cell组件右边箭头对其文字
	.u-cell_title {
		font-weight: 700 !important;
		color: #333 !important;
	}
	
	.u-cell__right-icon-wrap {
		height: 55rpx !important;
	}
	
	// 九宫格
	.u-grid-item-box{
		 padding: 30rpx 0 0 !important;
	}
	
	/*每个页面公共css */
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";
	@import './common/common.scss'

</style>
